<?php

namespace DesignNew\Singleton;

require('../vendor/autoload.php');

class SinClient{
    public function __construct()
    {
        $this->run();
    }

    public function run()
    {
        $president1 = President::getInstance();
        $president2 = President::getInstance();
        var_dump($president1 == $president2);
    }
}

$client = new SinClient();